package com.hermit.server.dto;

/** Dto类 */
public class CourseContentFileDto {
    private String id;
    private String courseId;
    private String name;
    private String url;
    private Integer size;
    /**set与get方法  */
    public String getId(){
        return id;
    }

    public void setId(String id){
        this.id = id;
    }
    public String getCourseId(){
        return courseId;
    }

    public void setCourseId(String courseId){
        this.courseId = courseId;
    }
    public String getName(){
        return name;
    }

    public void setName(String name){
        this.name = name;
    }
    public String getUrl(){
        return url;
    }

    public void setUrl(String url){
        this.url = url;
    }
    public Integer getSize(){
        return size;
    }

    public void setSize(Integer size){
        this.size = size;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(",id=").append(id);
        sb.append(",courseId=").append(courseId);
        sb.append(",name=").append(name);
        sb.append(",url=").append(url);
        sb.append(",size=").append(size);
        sb.append("]");
        return sb.toString();
    }
}